package com.CmJava.entity.blog;

import java.io.Serializable;
import java.util.List;

public class BlogRedis implements Serializable {
    private String id;
    private List<BlogModel> model;

    public BlogRedis() {
    }

    public BlogRedis(String id, List<BlogModel> model) {
        this.id = id;
        this.model = model;
    }

    public String getId() {
        return id;
    }

    public void setId(String id) {
        this.id = id;
    }

    public List<BlogModel> getModel() {
        return model;
    }

    public void setModel(List<BlogModel> model) {
        this.model = model;
    }

    @Override
    public String toString() {
        return "BlogRedis{" +
                "id='" + id + '\'' +
                ", model=" + model +
                '}';
    }
}
